package com.wm.homework03;

public abstract class Calculator {
    private double fristNum;
    private double secondNum;

    public Calculator() {
    }

    public Calculator(double fristNum, double secondNum) {
        this.fristNum = fristNum;
        this.secondNum = secondNum;
    }

    public double getFristNum() {
        return fristNum;
    }

    public void setFristNum(double fristNum) {
        this.fristNum = fristNum;
    }

    public double getSecondNum() {
        return secondNum;
    }

    public void setSecondNum(double secondNum) {
        this.secondNum = secondNum;
    }

    public abstract void calculate();
}
